package com.hr.service;

import com.hr.domain.dto.HouseFacilityDTO;
import com.hr.domain.po.HouseFacility;
import com.hr.domain.query.HouseFacilityPageParams;
import com.hr.domain.query.HouseFacilityPageResult;
import com.hr.domain.vo.HouseFacilityVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86150
* @description 针对表【house_facility(房源配套设施表)】的数据库操作Service
* @createDate 2025-09-24 09:35:56
*/
public interface HouseFacilityService {

    /**
     * 获取房源配套设施列表
     * @return houseFacilityList
     */
    List<HouseFacilityVO> getHouseFacilityList();

    /**
     * 分页获取房源配套设施列表
     * @param queryParams
     * @return houseFacilityPageResult
     */
    HouseFacilityPageResult getHouseFacilityPageList(HouseFacilityPageParams queryParams);

    /**
     * 获取设施类型列表
     * @return houseFacilityTypeList
     */
    List<String> getHouseFacilityType();

    /**
     * 添加设施信息
     * @param houseFacilitydto
     * @return msg
     */
    String addHouseFacility(HouseFacilityDTO houseFacilitydto);

    /**
     * 删除设施信息
     * @param id
     * @return msg
     */
    String deleteHouseFacility(Integer id);

    /**
     * 获取设施信息
     * @param id
     * @return houseFacility
     */
    HouseFacilityVO getHouseFacility(Integer id);

    /**
     * 更新设施信息
     * @param houseFacilitydto
     * @return msg
     */
    String updateHouseFacility(HouseFacilityDTO houseFacilitydto);

    /**
     * 批量删除设施信息
     * @param ids
     * @return msg
     */
    String deleteHouseFacilityBatch(List<Integer> ids);
}
